#include "Utils.h"

//******************************************************************
//FUNCTION:
std::string getRandomStr(int vLength)
{
    {
        static const std::string Characters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
        std::string Result;
        Result.reserve(vLength);
        std::srand(static_cast<unsigned int>(std::time(nullptr)));
        for (int i = 0; i < vLength; ++i) {
            Result += Characters[std::rand() % Characters.size()];
        }
        return Result;
    }

}
